//
//  NetMessage.h
//  LegoClient
//
//  Created by Balazs Faludi on 02.01.10.
//  Copyright 2010 Universität Basel. All rights reserved.
//

#import <Foundation/Foundation.h>

#define kNetMessageEncoding NSASCIIStringEncoding

@interface NetMessage : NSObject {
	NSString *_body;
}
- (id)initWithString:(NSString *)string;
- (id)initWithBytes:(const uint8_t *)bytes length:(NSUInteger)length;
- (const uint8_t *)bytes;
- (NSUInteger)length;
- (NSString *)stringValue;

@end
